backto index

HTML Form Attribute

HTML Forms






The form target attribute

When submitting this form, the result will be opened in a new browser tab:






The method Attribute

This form will be submitted using the GET method:






After you submit, notice that the form values is visible in the address bar of the new browser tab.

The method Attribute

This form will be submitted using the GET method:






After you submit, notice that the form values is visible in the address bar of the new browser tab.

The form autocomplete attribute

Fill in and submit the form, then reload the page, start to fill in the form again - and see how autocomplete works.

Then, try to set autocomplete to "off".





The form novalidate attribute

The novalidate attribute indicates that the form input is not to be validated on submit: